import  FrontLayout  from './components/FrontLayout'

export default [
  {
    name: "front", //名称
    // path: '/front', //forEach执行后，就有了这个属性
    component: FrontLayout ,
    children: [
      {
        path:'/front',
        redirect:"/front/login"
      },
      {
        path:"login",
        name: "login",
        component: () => import("./views/Login"),
        meta: {
          title: "登录"
        }
      },
      {
        path:"recover",
        name:"recover",
        component:() => import("./views/Recover"),
        meta:{
          title:"找回密码"
        }
      },
      {
        path:"reset",
        name:"reset",
        component:() => import("./views/Reset"),
        meta:{
          title:"重设密码"
        }
      }
    ]
  }
]
